package controllers;

import models.Usuario;
import play.mvc.*;

public class Application extends Controller {

    public static void index() {
        String usuario = Security.connected();
        if (usuario == null) {
            redirect("/login");
        } else {
            Security.onAuthenticated();
        }
    }
    
   
}